package com.bestcem.xm.txtanls.constant;

import lombok.AccessLevel;
import lombok.NoArgsConstructor;

/**
 * @author XiaoYunSong <ys.xiao@idiaoyan.cn>
 * @version v1.0
 * @date 2021/5/12
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class ColumnConstant {
    public static class Base {
        public static final String _ID = "_id";
        public static final String RECORD_FLAG = "record_flag";
        public static final String CREATED_DT = "created_dt";
        public static final String CREATED_ID = "created_id";
        public static final String UPDATED_DT = "updated_dt";
        public static final String UPDATED_ID = "updated_id";
    }

    public static class AnalysisProject extends Base {
        public static final String CREATOR = "creator";
        public static final String NAME = "name";
        public static final String ORG_ID = "org_id";
        public static final String STATUS = "status";
        public static final String SURVEY_ID = "survey_id";
        public static final String TABLE_ID = "table_id";
        public static final String TABLE_NAME = "table_name";
        public static final String TEXT_FIELD_LIST = "textfieldList";
        public static final String TIME_FIELD_ID = "timefield_id";
        public static final String TIME_FIELD_NAME = "timefield_name";
        public static final String TRAIN_STATUS = "train_status";
        public static final String TRAIN_PROGRESS = "train_progress";

        public static class TextField {
            public static class Column {
                public static final String ID = "id";
                public static final String FULL_ID = TEXT_FIELD_LIST + "." + ID;
                public static final String VALUE = "value";
                public static final String FULL_VALUE = TEXT_FIELD_LIST + "." + VALUE;
            }
        }
    }

    public static class HiddenKeyword extends Base {
        public static final String PROJECT_ID = "projectID";
        public static final String KEYWORD_LIST = "keywordlist";

    }

    public static class IndustryKeyword extends Base {
        public static final String INDUSTRY_ID = "industryID";
        public static final String KEY_CONTENT = "keycontent";
        public static final String ORG_ID = "orgID";
        public static final String STATUS = "status";
    }

    public static class SurveyField extends Base {
        public static final String PROJECT_ID = "projectID";
        public static final String SURVEY_ID = "survey_id";
        public static final String SURVEY_FIELD_NAME = "surveyfieldname";
        public static final String SURVEY_COL_NAME = "surveycolname";
        public static final String TYPE = "ttype";
    }

    public static class JoinInfo extends Base {
        public static final String PROJECT_ID = "project_id";
        public static final String COLLECTION_ID = "collection_id";
        public static final String TIME = "time";
        public static final String RECORD_SCORE = "record_score";
        public static final String RECORD_SENTI = "record_senti";
        public static final String RECORD_ID = "recordID";
        public static final String VIEW_POINT_LIST = "ViewPointList";
    }

    public static class Record extends Base {
        public static final String COLLECTION_ID = "collection_id";
        public static final String CONTENT = "content";
        public static final String PROJECT_ID = "anlsprojectID";
        public static final String FIELD_ID = "field_id";
        public static final String FIELD_NAME = "field_name";
        public static final String INDUSTRY_ID = "industryID";
        public static final String SENTI = "senti";
        public static final String SENTI_SCORE = "sentiscore";
        public static final String SURVEY_ID = "survey_id";
        public static final String WORKTABLE_ID = "worktableID";
        public static final String WORK_NAME = "workName";
        public static final String RECORD_TIME = "recordtime";
        public static final String COLLECTION_TIME = "collection_time";
    }

    public static class Topic extends Base {
        public static final String ANLS_PROJECT_ID = "anlsprojectID";
        public static final String KEY_DICT = "key_dict";
        public static final String NAME = "name";
        public static final String TOPICG_ID = "topicgID";
        public static final String TTYPE = "ttype";
        public static final String STATUS = "status";

    }

    public static class ViewPoint extends Base {
        public static final String VIEW_CONTENT = "viewcontent";
        public static final String ROW_CONTENT = "rowcontent";
        public static final String ANLS_PROJECT_ID = "anlsprojectID";
        public static final String PARENT_VIEWS_ID = "ParentViewsID";
        public static final String INDUSTRY_ID = "IndustryID";
        public static final String TTYPE = "ttype";

    }
}
